﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataSync.BLL;
using DataSync.DAL;
using IBM.Data.DB2;

namespace DataSync.Model
{
    public class TTransaction : SyncBase
    {
        readonly string tDBString = System.Configuration.ConfigurationManager.AppSettings["dbName_TRANSACTION"];

        public TTransaction()
        {
            base.Scheme = "dbo";
            base.SourceTableName = "TRANSACTION";
            base.TargetTableName = tDBString + "." + Scheme + ".T_TRANSACTION_";
            base.SourceDateFieldName = "CHARGE_TIME";
            base.TargetDateFieldName = "CHARGE_TIME";
            base.IsSubTable = true;
            base.FilterString = " CHARGE_STATUS IN (0,110,120) ";
            base.SyncType = 1;
        }
    }
}
